From: Jasper St. Pierre Date: Sun, 3 Mar 2013 19:15:28 +0000 (-0500) Subject: xdndHandler: Ensure that the XDnD clone is on top of the panel X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4580 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c1dd971ce9647c08ca23bee1dd829cd745d35ee1;p=gnome-shell.git xdndHandler: Ensure that the XDnD clone is on top of the panel The panel is added to the uiGroup, not the overlay group, so to stack on top of it, we need to add ourselves to the uiGroup as well. https://bugzilla.gnome.org/show_bug.cgi?id=695073 --- diff --git a/js/ui/xdndHandler.js b/js/ui/xdndHandler.js index e9f361269..85af2faeb 100644 --- a/js/ui/xdndHandler.js +++ b/js/ui/xdndHandler.js @@ -68,7 +68,7 @@ const XdndHandler = new Lang.Class({ source: cursorWindow}); this._cursorWindowClone = new Clutter.Clone({ source: cursorWindow }); - global.overlay_group.add_actor(this._cursorWindowClone); + Main.uiGroup.add_actor(this._cursorWindowClone); Shell.util_set_hidden_from_pick(this._cursorWindowClone, true); // Make sure that the clone has the same position as the source